package com.aizuda.boot.modules.business.contract.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "法人实体详情DTO")
public class LegalEntityDetailDTO {
    
    @Schema(description = "主键ID")
    private Integer id;
    
    @Schema(description = "法人实体编码")
    private String legalEntityCode;
    
    @Schema(description = "法人实体名称")
    private String legalEntityName;
    
    @Schema(description = "法人实体简称")
    private String legalEntityAbbr;
    
    @Schema(description = "注册国家/地区")
    private String registerCountry;
    
    @Schema(description = "详细地址")
    private String detailAddress;
    
    @Schema(description = "证件类型")
    private String certificateType;
    
    @Schema(description = "证件ID")
    private String certificateId;
    
    @Schema(description = "是否启用(description = 0:停用,1:启用)")
    private Boolean isEnabled;
    
    @Schema(description = "银行信息列表")
    private List<BankInfoDTO> bankInfoList;
    
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createdAt;
    
    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updatedAt;
} 